package com.mrd.gtimpframe.service.impl;

import com.mrd.gtimpframe.entity.TGenDeclaInsGroupRef;
import com.mrd.gtimpframe.repository.TGenDeclaInsGroupRefMapper;
import com.mrd.gtimpframe.service.TGenDeclaInsGroupRefServer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("tGenDeclaInsGroupRefServer")
public class TGenDeclaInsGroupRefServerImpl implements TGenDeclaInsGroupRefServer {
  @Autowired
  TGenDeclaInsGroupRefMapper tGenDeclaInsGroupRefMapper;

  @Override
  public int deleteByPrimaryKey(Object id) {
    return tGenDeclaInsGroupRefMapper.deleteByPrimaryKey(id);
  }

  @Override
  public int insert(TGenDeclaInsGroupRef t) {
    return tGenDeclaInsGroupRefMapper.insert(t);
  }

  @Override
  public int insertSelective(TGenDeclaInsGroupRef t) {
    return tGenDeclaInsGroupRefMapper.insertSelective(t);
  }

  @Override
  public TGenDeclaInsGroupRef selectByPrimaryKey(Object id) {
    return tGenDeclaInsGroupRefMapper.selectByPrimaryKey(id);
  }

  @Override
  public int updateByPrimaryKeySelective(TGenDeclaInsGroupRef t) {
    return tGenDeclaInsGroupRefMapper.updateByPrimaryKeySelective(t);
  }

  @Override
  public int updateByPrimaryKey(TGenDeclaInsGroupRef t) {
    return tGenDeclaInsGroupRefMapper.updateByPrimaryKey(t);
  }

}
